package com.senven.permission.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.senven.common.entity.Permission;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @BelongsProject: senven-orderfood-parent
 * @BelongsPackage: com.senven.permission.mapper
 * @unthor : YSH
 * @date : 2022/8/29 21:51
 */
@Mapper
public interface PermissionMapper extends BaseMapper<Permission> {
    List<String> selectPermissionByUserid(String userid);

    List<Permission> selectLeftPermission(String id);
}
